Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix flaky on mki] add dismiss all toasts #184659

Conversation

wayneseymour
Copy link
Member

Summary

resolves: #184655

Ran this from my local, against an MKI oblt cluster.

@wayneseymour wayneseymour added release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting labels Jun 3, 2024
@wayneseymour wayneseymour self-assigned this Jun 3, 2024
@wayneseymour wayneseymour requested a review from a team as a code owner June 3, 2024 14:41
Copy link
Member

@pheyos pheyos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -258,6 +259,7 @@ export default ({ getPageObject, getService }: FtrProviderContext) => {
createNCasesBeforeDeleteAllAfter(1, getPageObject, getService);

it('deletes a case correctly', async () => {
await toasts.dismissAll();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am wondering if we should do it before each test. Wdyt?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you'd like to, please update this branch, so we can git it in quicker.
I don't see the harm in it, personally.

Copy link
Member

@cnasikas cnasikas Jun 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we are in a rush to merge this PR then it is better to leave it as it is. In case it was not clear what I meant by "before each test" was something like

beforeEach(async () => {
   await toasts.dismissAll();
}

@wayneseymour
Copy link
Member Author

🚨 Error: cloning git repository: exit status 128, retrying with a merge.

@wayneseymour
Copy link
Member Author

@elasticmachine merge upstream

@wayneseymour
Copy link
Member Author

@elasticmachine merge upstream

@wayneseymour
Copy link
Member Author

@elasticmachine merge upstream

@wayneseymour
Copy link
Member Author

@elasticmachine merge upstream

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #7 / Cases cases list filtering assignees filtering filters cases by the first cases all user assignee

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @wayneseymour

@wayneseymour wayneseymour merged commit 6e3b14f into elastic:main Jun 4, 2024
19 checks passed
@wayneseymour wayneseymour deleted the fixup-x-pack-test_serverless-functional-test_suites-observability-cases-list_view branch June 4, 2024 10:46
rohanxz pushed a commit to honeyn303/kibana that referenced this pull request Jun 4, 2024
## Summary

resolves: elastic#184655

Ran this from my local, against an MKI oblt cluster.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes v8.15.0
Projects
None yet
5 participants